Objectiv\Plugins\Checkout\Compatibility\Gateways\AmazonPayLegacy A

Total Complexity 53
Dependencies 3
Dependents 0
Total lines 392
Lines of code 250
Logical lines of code 114
Comment lines 76
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
normalize_address()
S
54 7 21
store_shipping_info_in_session()
S
55 6 19
checkout_init()
S
54 5 19
is_available()
S
60 5 13
is_logged_in()
S
62 4 11
set_customer_info()
S
64 4 8
start()
S
59 3 14
payment_widget()
S
50 1 34
runtime_styles()
S
64 2 16
address_widget()
S
55 1 22
get_gateway()
S
72 2 6
pre_init()
S
68 2 7
remove_banners()
S
65 2 9
queue_widgets()
S
65 2 9
disable_refresh()
S
69 2 7
protect_shipping_fields()
S
73 1 13
shim_email_field()
S
68 1 7
output_shim_divs_open()
S
82 1 3
output_shim_divs_close()
S
82 1 3
typescript_class_and_params()
S
66 1 9